package com.able.concurrency.t3;

/**
 * @author abel.he
 * @data 2018/8/19 16:01
 * @describe 单例模式
 */
public class TestSingle {

    public static class TestInit {
        private static TestSingle testSingle  = new TestSingle();
    }

    public TestSingle() {
    }

    public static TestSingle get() {
        return TestInit.testSingle;
    }
}
